#include <bits/stdc++.h>
#define ll long long
#define str string
#define N 100003
using namespace std;

int a[N];

int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n;
    scanf("%d",&n);
    for(int i=1;i<=n;i++) scanf("%d",&a[i]);
    sort(a+1,a+1+n);
    int r=0;
    for(int i=1,j=1;i<=n;i++,j++){
        if(a[i]!=a[i+1]){
            r=max(r,j);
            j=0;
        }
    }
    printf("%d\n",r);
    return 0;
}


